module.exports = {
    // 选项...
    devServer: {
        proxy: {
            '/api':{
                target:'http://apis.juhe.cn',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/'
                }  
            },
            '/bpi':{
                target:'http://v.juhe.cn',
                changeOrigin: true,
                pathRewrite: {
                    '^/bpi': '/'
                }
            },
            '/cpi':{
                target:'https://route.showapi.com',
                changeOrigin: true,
                pathRewrite: {
                    '^/cpi': '/'
                }
            }
        }
      }
  }